package com.ruoyi.domain;

import com.ruoyi.util.BaseBean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行流水模板2对象 ban_log_second
 * 
 * @author ruoyi
 * @date 2020-02-28
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BankLogSecond extends BaseBean
{

    private static final long serialVersionUID = 1L;

    /** 交易日期 */
    @Excel(name = "交易日期")
    private String tradeDate;

    /** 交易日期 */
    @Excel(name = "交易时间")
    private String tradeTime;

    /** 收入金额 */
    @Excel(name = "收入金额")
    private String credit;

    /** 支出金额 */
    @Excel(name = "支出金额")
    private String amountPaid;

    /** 本次余额 */
    @Excel(name = "本次余额")
    private String thisBalance;

    /** 手续费总额 */
    @Excel(name = "手续费总额")
    private String chargeTotal;

    /** 交易方式 */
    @Excel(name = "交易方式")
    private String dealWay;

    /** 交易行名 */
    @Excel(name = "交易行名")
    private String tradeName;

    /** 交易类别 */
    @Excel(name = "交易类别")
    private String tradeType;

    /** 编号 */
    private Integer id;

    /** 对方省市 */
    @Excel(name = "对方省市")
    private String oppositeProvince;

    /** 对方账号 */
    @Excel(name = "对方账号")
    private String oppositeAccount;

    /** 对方户名 */
    @Excel(name = "对方户名")
    private String oppositeUsername;

    /** 交易说明 */
    @Excel(name = "交易说明")
    private String dealExplain;

    /** 交易摘要 */
    @Excel(name = "交易摘要")
    private String dealDigest;

    /** 交易附言 */
    @Excel(name = "交易附言")
    private String dealRemark;

    /** 交易凭证号 */
    @Excel(name = "交易凭证号")
    private String dealVoucherNumber;

    /** 交易日志号 */
    @Excel(name = "交易日志号")
    private String dealLogNumber;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tradeDate", getTradeDate())
            .append("tradeTime", getTradeTime())
            .append("credit", getCredit())
            .append("amountPaid", getAmountPaid())
            .append("thisBalance", getThisBalance())
            .append("chargeTotal", getChargeTotal())
            .append("dealWay", getDealWay())
            .append("tradeName", getTradeName())
            .append("tradeType", getTradeType())
            .append("id", getId())
            .append("oppositeProvince", getOppositeProvince())
            .append("oppositeAccount", getOppositeAccount())
            .append("oppositeUsername", getOppositeUsername())
            .append("dealExplain", getDealExplain())
            .append("dealDigest", getDealDigest())
            .append("dealRemark", getDealRemark())
            .append("dealVoucherNumber", getDealVoucherNumber())
            .append("dealLogNumber", getDealLogNumber())
            .toString();
    }
}